package com.ly.heart.service;

import com.ly.common.core.domain.AjaxResult;
import com.ly.heart.domain.KingFinancePayRefundEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.dto.KingFinancePayRefundDto;
import com.ly.heart.domain.vo.KingFinancePayRefundVo;

import java.util.List;

/**
 * <p>
 * 付款退款单 服务类
 * </p>
 * @author WuZH
 * @since 2024-08-04
 */
public interface IKingFinancePayRefundService extends IService<KingFinancePayRefundEntity> {

    AjaxResult draft (KingFinancePayRefundDto kingFinancePayRefundDto);

    AjaxResult submit (KingFinancePayRefundEntity kingFinancePayRefundEntity);

    KingFinancePayRefundVo querySingle (String id);

    AjaxResult queryList (KingFinancePayRefundEntity kingFinancePayRefundEntity);

    KingFinancePayRefundEntity querySingleById (String id);

    AjaxResult updateSingle (KingFinancePayRefundDto kingFinancePayRefundDto);

    AjaxResult deleteByIds (String[] ids);

    AjaxResult approve (String id);

}
